package com.jin_mo.custom.utils;

import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;

/**
 * 随机数
 */
public class WatchUtils {

    public static int getThousandSee() {
        return ThreadLocalRandom.current().nextInt(2000, 10000);
    }

    public static String getTenThousandSee() {
        Random random = new Random();
        int integer = random.nextInt(10);
        int decimals = random.nextInt(10);
        return integer + "." + decimals;
    }
}
